<div class="page-header-inner">
    <div class="page-logo">
        <a href="#/">
            <img data-src="../assets/layout/img/logo.png" alt="logo" class="logo-default" data-ejp-info-adapter
                 data-path="/logo.png">
        </a>
        <div class="menu-toggler sidebar-toggler hide">
        </div>
    </div>
    <a href="javascript:" class="menu-toggler responsive-toggler" data-toggle="collapse"
       data-target=".navbar-collapse">
    </a>
    <div class="top-menu">
        <ul class="nav navbar-nav pull-right">
            <li class="dropdown dropdown-user">
                <a href="javascript:" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown"
                   data-close-others="true">
                    <img alt="" class="img-circle" src="../assets/layout/img/avatar3_small.jpg"/>
                    <span class="username username-hide-on-mobile" ng-bind="trueName"></span>
                    <i class="fa fa-angle-down"></i>
                </a>
                <ul class="dropdown-menu dropdown-menu-default">
                    <li>
                        <a data-ng-click="logout()">
                            <i class="icon-key"></i> 注销 </a>
                    </li>
                    <li>
                        <a href="javascript:void(0)" data-ng-click="open('sm')">
                            <i class="icon-refresh"></i> 切换角色 </a>
                    </li>
                </ul>
            </li>
            <li class="dropdown dropdown-role">  角色：
                <span ng-if="userRole == '0' ">管理员</span>
                <span ng-if="userRole == '1' ">城市管理员</span>
                <span ng-if="userRole == '2' ">系统用户</span>
            </li>
        </ul>
    </div>
</div>
